package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-审批实例记录
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_oa_approve")
@ApiModel(value = "ErpOaApprove对象", description = "ERP系统-审批实例记录")
public class ErpOaApprove implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("审批实例ID")
    private Integer instanceId;

    @ApiModelProperty("用户")
    private String userName;

    @ApiModelProperty("系统用户ID")
    private Integer userId;

    @ApiModelProperty("钉钉审批人ID")
    private String ddStaffId;

    @ApiModelProperty("审批意见")
    private String remark;

    @ApiModelProperty("附件数量")
    private Integer fileAcount;

    @ApiModelProperty("0-等待开始 1-审批开始 2-审批取消 3-审批通过 4-审批未通过")
    private Integer status;

    @ApiModelProperty("审批开始时间")
    private Date startTime;

    @ApiModelProperty("审批结束时间")
    private Date endTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
